def box(p):
    assert(p != 0), "p 不能为 0"
    return 10 / p

print(box(10))

# print(box(0))

try:
    print(box(0))
except AssertionError as e:
    print(e)
